//
//  HWBindingQQTableViewCell.m
//  HWanGame
//
//  Created by 陈道斌 on 2019/10/29.
//  Copyright © 2019 Chendaobin. All rights reserved.
//

#import "HWBindingQQTableViewCell.h"

@implementation HWBindingQQTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        [self setupUI];
        
    }
    
    return  self;
    
}

- (void)setupUI {
    
      self.namelabel = [[UILabel alloc]initWithFrame:CGRectMake(15, 0, 55, 44)];
      self.namelabel.font = [UIFont systemFontOfSize:14];
      self.namelabel.textColor = RGB(51, 51, 51);
      self.namelabel.text = @"QQ号码";
     // self.namelabel.backgroundColor = [UIColor redColor];
      [self.contentView addSubview:self.namelabel];
    
    self.titleTextField = [[UITextField alloc]initWithFrame:CGRectMake( self.namelabel.right+13, 0, 300, 44)];
  
    NSMutableAttributedString *attrString = [[NSMutableAttributedString alloc] initWithString:@"请填写真实姓名" attributes:
               @{NSForegroundColorAttributeName:RGB(153, 153, 153),
                 NSFontAttributeName:[UIFont boldSystemFontOfSize:12]}
               ];
    self.titleTextField.attributedPlaceholder  = attrString;
    self.titleTextField.font = [UIFont systemFontOfSize:12];
    self.titleTextField.textAlignment = NSTextAlignmentLeft;
    self.titleTextField.textColor = RGB(51, 51, 51);
    [self.contentView addSubview:self.titleTextField];
    
    
    self.fenxianView = [[UIView alloc]initWithFrame:CGRectMake(0, 43, kScreenW, 1)];
    self.fenxianView.backgroundColor = xiatiaoyanSehui;
    [self.contentView addSubview:self.fenxianView];
    
    
    
    
    
    
    
}

@end
